export const CollApsedReducer = (prevState = {
  isCollapsed: false
}, action) => {
  let { type } = action
  if (type === "change_collapsed") {
    // console.log(type);
    let newstate = {
      ...prevState
    }
    newstate.isCollapsed = !newstate.isCollapsed
    return newstate
  } else {
    return prevState
  }
}